﻿using System.Collections.Generic;
using System.Runtime.Serialization;

namespace DAL.Model
{
    [DataContract]
   public  class UserUploadSetting
   {
        [DataMember]
        public List<WebInfo> Web { get; set; }
        [DataMember]
       public int MaxRetries { get; set; }
        [DataMember]
       public int RetryDelay { get; set; }
        [DataMember]
       public long FileMin { get; set; }
        [DataMember]
       public long FileMax { get; set; }
        [DataMember]
       public int MaxJob { get; set; }
        [DataMember]
       public bool AutoStart { get; set; }
        [DataMember]
       public bool AutoShutUp { get; set; }
   }

   

}

[DataContract]
public class WebInfo
{
    [DataMember]
    public string Code { get; set; }
    [DataMember]
    public string Name { get; set; }
    [DataMember]
    public string Filter { get; set; }
}
